package com.ai.platform.core.interceptor;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.servlet.ModelAndView;

/**
 * Created by yeyingsheng on 2018/5/13.
 * 默认拦截器实现
 */
public class DefaultInterceptor extends AICoreInterceptor {

    private static final Logger logger = LoggerFactory.getLogger(DefaultInterceptor.class);


    @Override
    public boolean preHandle(Object handler) {
        return true;
    }

    @Override
    public void postHandle(Object handler, ModelAndView modelAndView) throws Exception {

    }

    @Override
    public void afterCompletion(Object handler, Exception ex) throws Exception {

    }

}
